package cn.ztydata.teachingsystem.heaven.entity.exercise;

import cn.ztydata.teachingsystem.heaven.entity.BaseEntity;

import java.util.List;

/**
 * 习题填空实体类
 * Created by wyh on 2015/2/4.
 */
public class ExerciseBlank extends BaseEntity {
    private Long id;//ID
    private Long exerciseId;//习题ID
    private Integer answerCount;//答案数
    private Integer hasFormula;//是否含公式：0不含  1含
    private List<BlankSolution> solutions;//填空答案

    private List<String> solutionTexts; //答案文本，方便用于比对答案时使用

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getExerciseId() {
        return exerciseId;
    }

    public void setExerciseId(Long exerciseId) {
        this.exerciseId = exerciseId;
    }

    public Integer getAnswerCount() {
        return answerCount;
    }

    public void setAnswerCount(Integer answerCount) {
        this.answerCount = answerCount;
    }

    public Integer getHasFormula() {
        return hasFormula;
    }

    public void setHasFormula(Integer hasFormula) {
        this.hasFormula = hasFormula;
    }

    public List<BlankSolution> getSolutions() {
        return solutions;
    }

    public void setSolutions(List<BlankSolution> solutions) {
        this.solutions = solutions;
    }

    public List<String> getSolutionTexts() {
        return solutionTexts;
    }

    public void setSolutionTexts(List<String> solutionTexts) {
        this.solutionTexts = solutionTexts;
    }
}
